<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>公司名称</label>
              <input class="form-control" name="company" placeholder="请输入公司名称" value="{$info['company']}" type="text">
            </div>
          </div>
		  <div class="col-md-6">
            <div class="form-group">
              <label>公司简称</label>
              <input class="form-control" name="title" placeholder="请输入公司简称"  value="{$info['title']}" type="text">
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              <label>法人</label>
              <input class="form-control" name="person" placeholder="请输入公司法人"  value="{$info['person']}" type="text">
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              <label>统一编码</label>
              <input class="form-control" name="code" placeholder="请输入统一编码" type="text" value="{$info['code']}">
            </div>
          </div>
		  <div class="col-md-6">
            <div class="form-group">
              <label>手机号</label>
              <input class="form-control" name="phone" placeholder="请输入手机号" type="text" value="{$info['phone']}" maxlength="11">
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              <label>公司电话</label>
              <input class="form-control" name="call" placeholder="请输入电话号" type="text" value="{$info['call']}" >
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              <label>公司性质</label>
              <select name="type" class="form-control">
                {volist name='tinfo' id='vo'}
                <option value="{$vo.id}">{$vo.name}</option>
                {/volist}
              </select>
            </div>
          </div>
          <div class="col-md-6">
            <div class="form-group">
              <label>公司规模</label>
              <select name="num" class="form-control">
                {volist name='cinfo' id='vo'}
                <option value="{$vo.id}">{$vo.name}</option>
                {/volist}
              </select>
            </div>
          </div>
        </div>
      </div>
      <div class="box-footer">
        
        <input type="hidden" name="company_id" value="{$info['company_id']|default='0'}"/>
          
        {include file="layout/edit_btn_group"/}
        
      </div>
    </div>
</form>
<script type="text/javascript">

  ob.setValue("type", {$info.type|default=0});
  ob.setValue("num", {$info.num|default=0});

</script>